package com.education.myproject.config;

/**
 * Created by zhonghang on 2016/10/4.
 *
 * 用于配置网络连接地址以及参数名称
 */

public class UrlConfig {
        public static final String URL_VERTICAL="http://capi.douyucdn.cn/api/v1/getVerticalRoom?limit=20&offset=0&time=1470800460";
        public static class Path{
            //因为后台会分成生产环境和测试环境,所以域名地址必须单独提出来
            public static final String BASE_URL="http://capi.douyucdn.cn/";
            //斗鱼获取颜值列表的接口,传递参数获取的数值limit 偏移量 offset 时间time 毫秒数/1000   name
            public static final String URL_VERTICAL="api/v1/getVerticalRoom";

        }

        public static  class Params{
            public static final String LIMIT="limit";
            public static final String OFFSET="offset";
            public static final String TIME="time";
        }
         public static class DefaultVaule{
             public static final String LIMIT_VALUE="20";
         }

}
